offset area being gotten from pixmap by the align/padding offsets, so we
authorHavoc Pennington <hp@redhat.com>
Tue, 5 Feb 2002 23:07:07 +0000 (23:07 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Tue, 5 Feb 2002 23:07:07 +0000 (23:07 +0000)
2002-02-05  Havoc Pennington  <hp@redhat.com>

* gtk/gtkimage.c (gtk_image_expose): offset area being gotten from
pixmap by the align/padding offsets, so we don't get warnings
in gdk_pixbuf_get_from_drawable (and so it works, of course)

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkimage.c

index 07036b53e943e579185d016bc0ce60d1ebf0ffdd..11dd9b493b250b54a3f3cd6f96b76733e5fd9731 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-02-05  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkimage.c (gtk_image_expose): offset area being gotten from
+       pixmap by the align/padding offsets, so we don't get warnings
+       in gdk_pixbuf_get_from_drawable (and so it works, of course)
+
 2002-02-05  Matthias Clasen  <matthiasc@poet.de>
 
        * gtk/gtkrc.c (gtk_rc_parse_file): Remove a (now) misleading comment.
index 07036b53e943e579185d016bc0ce60d1ebf0ffdd..11dd9b493b250b54a3f3cd6f96b76733e5fd9731 100644 (file)
@@ -1,3 +1,9 @@
+2002-02-05  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkimage.c (gtk_image_expose): offset area being gotten from
+       pixmap by the align/padding offsets, so we don't get warnings
+       in gdk_pixbuf_get_from_drawable (and so it works, of course)
+
 2002-02-05  Matthias Clasen  <matthiasc@poet.de>
 
        * gtk/gtkrc.c (gtk_rc_parse_file): Remove a (now) misleading comment.
index 07036b53e943e579185d016bc0ce60d1ebf0ffdd..11dd9b493b250b54a3f3cd6f96b76733e5fd9731 100644 (file)
@@ -1,3 +1,9 @@
+2002-02-05  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkimage.c (gtk_image_expose): offset area being gotten from
+       pixmap by the align/padding offsets, so we don't get warnings
+       in gdk_pixbuf_get_from_drawable (and so it works, of course)
+
 2002-02-05  Matthias Clasen  <matthiasc@poet.de>
 
        * gtk/gtkrc.c (gtk_rc_parse_file): Remove a (now) misleading comment.
index 07036b53e943e579185d016bc0ce60d1ebf0ffdd..11dd9b493b250b54a3f3cd6f96b76733e5fd9731 100644 (file)
@@ -1,3 +1,9 @@
+2002-02-05  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkimage.c (gtk_image_expose): offset area being gotten from
+       pixmap by the align/padding offsets, so we don't get warnings
+       in gdk_pixbuf_get_from_drawable (and so it works, of course)
+
 2002-02-05  Matthias Clasen  <matthiasc@poet.de>
 
        * gtk/gtkrc.c (gtk_rc_parse_file): Remove a (now) misleading comment.
index 07036b53e943e579185d016bc0ce60d1ebf0ffdd..11dd9b493b250b54a3f3cd6f96b76733e5fd9731 100644 (file)
@@ -1,3 +1,9 @@
+2002-02-05  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkimage.c (gtk_image_expose): offset area being gotten from
+       pixmap by the align/padding offsets, so we don't get warnings
+       in gdk_pixbuf_get_from_drawable (and so it works, of course)
+
 2002-02-05  Matthias Clasen  <matthiasc@poet.de>
 
        * gtk/gtkrc.c (gtk_rc_parse_file): Remove a (now) misleading comment.
index 07036b53e943e579185d016bc0ce60d1ebf0ffdd..11dd9b493b250b54a3f3cd6f96b76733e5fd9731 100644 (file)
@@ -1,3 +1,9 @@
+2002-02-05  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkimage.c (gtk_image_expose): offset area being gotten from
+       pixmap by the align/padding offsets, so we don't get warnings
+       in gdk_pixbuf_get_from_drawable (and so it works, of course)
+
 2002-02-05  Matthias Clasen  <matthiasc@poet.de>
 
        * gtk/gtkrc.c (gtk_rc_parse_file): Remove a (now) misleading comment.
index 07036b53e943e579185d016bc0ce60d1ebf0ffdd..11dd9b493b250b54a3f3cd6f96b76733e5fd9731 100644 (file)
@@ -1,3 +1,9 @@
+2002-02-05  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkimage.c (gtk_image_expose): offset area being gotten from
+       pixmap by the align/padding offsets, so we don't get warnings
+       in gdk_pixbuf_get_from_drawable (and so it works, of course)
+
 2002-02-05  Matthias Clasen  <matthiasc@poet.de>
 
        * gtk/gtkrc.c (gtk_rc_parse_file): Remove a (now) misleading comment.
index 20391f0a015f30d76b01f656688d21c27ac40cb1..4b2517e4b18ecff29c1e800c7cc080f3b0720d84 100644 (file)
@@ -1252,7 +1252,7 @@ gtk_image_expose (GtkWidget      *widget,
               pixbuf = gdk_pixbuf_get_from_drawable (NULL,
                                                      image->data.pixmap.pixmap,
                                                      gtk_widget_get_colormap (widget),
-                                                     image_bound.x, image_bound.y,
+                                                     image_bound.x - x, image_bound.y - y,
                                                     0, 0,
                                                      image_bound.width,
                                                      image_bound.height);